background of the Middle Ages